package com.moduleSys.mapper;

import com.moduleSys.entity.system.UserRole;
import com.moduleSys.mapper.base.BaseUserRoleMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRoleMapper extends BaseUserRoleMapper {

    void deleteBatchByRoleId(@Param("roleIdList") List<Long> roleIdList);

    void deleteBatchByUserId(@Param("userIdList") List<Long> userIdList);

    void insertUserRoleForeach(@Param("userRoleList") List<UserRole> userRoleList);
}